package org.nothing.ordermaster.dao;

import org.nothing.ordermaster.entity.ProductInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ProductInfoDAO extends JpaRepository<ProductInfo, String> {

    /** 通过商品的状态来查上架的商品 */
    List<ProductInfo> queryByProductStatus(Integer productStatus);
}
